
<?php $contactbd=dr_site_value('contactbd');?>
{php extract(dr_get_form_post_value('zxly'))}
<header>
    <div class="head-top">
        <div class="l-wrap">
            <p class="text">{usu_fanyi('Welcome to ', $language)} {SITE_NAME}</p>
        </div>
    </div>
    <div class="head-info">
        <div class="l-wrap">
            <div class="head-logo"> 
                <a href="/" title="{SITE_NAME}">
                    <img src="{SITE_LOGO}" width="120" height="60" alt="{SITE_NAME}">
                    <span></span>
                </a> 
            </div>
            <?php $tblxfs=dr_site_value('tblxfs');?>
            <div class="head-list">
                <?php if ($tblxfs) { $key=0; foreach ($tblxfs as $v) { ?>
                <div class="item">
                    <div class="icon"><em class="iconfont">{$v[1]}</em></div>
                    <div class="info"><span>{usu_fanyi($v[2], $language)}</span>
                        <p><a href="{$v[4]}">{$v[3]}</a></p>
                    </div>
                </div>
                <?php  $key++; } } ?>
            </div>
            <div class="head-share">
                <?php $smxx=dr_site_value('smxx');?>
                <ul>
                    <?php if ($smxx) { $key=0; foreach ($smxx as $v) { ?>
                    <li>
                        <a href="{$v[2]}"  target="_blank" style="background: var(--color);padding: 5px;">
                            {$v[1]}
                        </a>
                    </li>
                    <?php  $key++; } } ?>
                </ul>
            </div>
            <div class="m-menu"><span></span><span></span><span></span></div>
        </div>
    </div>
    <div class="head-nav">
        <div class="l-wrap">
            <ul class="nav-ul">
                <li id="liHome"> <a href="/" class="{if $indexc}inmenu_1 {/if}">Home</a></li>
                {category module=share pid=0 return=t}
                <li > <a class="" href="{dr_url_rel($t.url, SITE_URL)}" class="{if IS_SHARE && $catid && in_array($catid, $t.catids)}inmenu_1 {/if}">{usu_fanyi($t.name, $language)}</a>
                    {if $t.child}
                    <ul class="submenu">
                        {category module=share pid=$t.id return=t2}
                        <li class="menu-item LiLevel1"> <a href="{dr_url_rel($t2.url, SITE_URL)}">{usu_fanyi($t2.name, $language)}</a>
                            {if $t2.child}
                            <ul>
                                {category module=share pid=$t2.id return=t3}
                                <li class="LiLevel2"> 
                                    <a href="{dr_url_rel($t3.url, SITE_URL)}">{usu_fanyi($t3.name, $language)}</a> 
                                </li>
                                {/category}
                            </ul>
                            {/if}
                        </li>
                        {/category}
                    </ul>
                    {/if}
                </li>
                {/category}
                <?php $duoyuyan=dr_site_value('duoyuyan');?>
                <li > <a class="" href="javascript:;" class="">{usu_fanyi('Language', $language)}</a>
                    <ul class="submenu">
                        <?php if ($duoyuyan) { $key=0; foreach ($duoyuyan as $v) { ?>
                        <li class="menu-item LiLevel1"> <a href="{$v[2]}">{$v[1]}</a></li>
                        <?php  $key++; } } ?>
                    </ul>
                </li>
            </ul>
            <div class="search-box">
                <form action="{WEB_DIR}index.php" method="get" id="searchForm">
                    <div class="head-search">
                        <button type="button"><em class="iconfont icon-search"></em></button>
                    </div>
                    <div class="search-input">
                        <input type="hidden" name="s" value="api">
                        <input type="hidden" name="c" value="api">
                        <input type="hidden" name="m" value="search">
                        <input type="hidden" name="dir" value="news" >
                        <input type="text" name="keyword" id="keyword" placeholder="Keyword">
                        <button class="search-btn" type="submit">
                            <em class="iconfont icon-search" aria-hidden="true"></em>
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</header>
